// 菜单模块
export namespace Menu {
  // 菜单列表响应数据
  export interface MenuListRes {
    menuId: number;
    parentId: number;
    menuName: string;
    menuSort: number;
    menuType: string;
    visible: number;
    status: number;
    permission: string;
    remark: string;
    name: string;
    path: string;
    component: string;
    icon: string;
    createTime: string;
    children?: MenuListRes[];
  }
  // 菜单列表请求参数
  export interface MenuListReqParams {
    menuName: string;
    status: string;
  }
  export interface MenuPermission {
    menuName: string;
    permission: string;
  }
  // 菜单详情响应数据
  export interface MenuDetailRes {
    menuId: number;
    parentId: number;
    menuName: string;
    menuSort: number;
    menuType: string;
    visible: number;
    status: number;
    permission: string;
    remark: string;
    name: string;
    path: string;
    component: string;
    icon: string;
    isFull: number;
    createTime: string;
    activeMenu: string;
    redirect: string;
    isLink: string;
    isAffix: number;
    isKeepAlive: number;
  }
  // 更改菜单显示状态请求参数
  export interface MenuChangeVisibleReq {
    menuId: number;
    visible: number;
  }
  // 更改菜单状态请求参数
  export interface MenuChangeStatusReq {
    menuId: number;
    status: number;
  }
}
